import simpleTable from './base/simple-table/simple-table'
import simpleForm from './base/simple-form/simple-form'
import simpleFormContainer from './base/simple-form-container/simple-form-container'
import numberInput from './base/number-input/number-input'
import language from './base/language/language'
import sidebar from './base/sidebar/sidebar'
import pageTagController from './base/page-tag-controller/page-tag-controller'
// import searchableInput from './base/searchable-input/searchable-input'
import formComponent from './base/form-component/form-component'
import simpleTreeTable from './base/simple-tree-table/simple-tree-table'

import dashboardPie from './business/dashboard-pie/dashboard-pie'
import bigdataTable from './base/bigdata-table'

// ---------------------------------BIZ---------------------------------
import ariesImport from './business/aries-import/aries-import'
const components = {
  sidebar,
  pageTagController,
  language,
  simpleTable,
  simpleForm,
  simpleFormContainer,
  numberInput,
  // searchableInput,
  formComponent,
  simpleTreeTable,

  dashboardPie,
  bigdataTable,

  ariesImport
}

let install = (Vue) => {
  Object.keys(components).forEach(key => {
    Vue.component(key, components[key])
    console.log(`[Component Installed] ${key}`)
  })
}

export {
  install
}
